home *** CD-ROM | disk | FTP | other *** search
- *** efsprogs11/Makefile Wed Dec 9 13:49:26 1992
- --- efsprogs/Makefile Sat Jan 2 14:27:09 1993
- ***************
- *** 1,6 ****
- CC= gcc
- CFLAGS= -O -Wall
- ! LDFLAGS= -s -static
- PROGS= efsck mkefs
- MANPAGES= efsck.8 mkefs.8
- BINDIR= /bin
- --- 1,6 ----
- CC= gcc
- CFLAGS= -O -Wall
- ! LDFLAGS= -s
- PROGS= efsck mkefs
- MANPAGES= efsck.8 mkefs.8
- BINDIR= /bin
- ***************
- *** 9,15 ****
- all: $(PROGS)
-
- clean:
- ! rm -f $(PROGS) *.o *~ core tmp_make
-
- install: $(PROGS)
- cp $(PROGS) $(BINDIR)
- --- 9,15 ----
- all: $(PROGS)
-
- clean:
- ! rm -f $(PROGS) *.o *~ core
-
- install: $(PROGS)
- cp $(PROGS) $(BINDIR)
- ***************
- *** 18,59 ****
- fi
-
- dep:
- ! sed '/\#\#\# Dependencies/q' < Makefile > tmp_make
- ! for i in *.c; do $(CPP) -M $$i; done >>tmp_make
- ! cp tmp_make Makefile
-
- ! ### Dependencies:
- ! efsck.o : efsck.c /usr/include/stdio.h /usr/include/traditional.h /usr/include/_G_config.h \
- ! /usr/include/unistd.h /usr/include/sys/stat.h /usr/include/sys/types.h /usr/include/linux/types.h \
- ! /usr/include/linux/stat.h /usr/include/sys/time.h /usr/include/linux/time.h \
- ! /usr/include/time.h /usr/include/features.h /usr/include/sys/times.h /usr/include/linux/times.h \
- ! /usr/include/sys/utsname.h /usr/include/sys/param.h /usr/lib/gcc-lib/i386-linux/2.2.2d/include/limits.h \
- ! /usr/include/limits.h /usr/include/linux/limits.h /usr/include/linux/param.h \
- ! /usr/include/sys/resource.h /usr/include/linux/resource.h /usr/include/utime.h \
- ! /usr/include/linux/utime.h /usr/include/signal.h /usr/include/linux/signal.h \
- ! /usr/include/string.h /usr/include/fcntl.h /usr/include/linux/fcntl.h /usr/include/ctype.h \
- ! /usr/include/stdlib.h /usr/lib/gcc-lib/i386-linux/2.2.2d/include/stddef.h /usr/include/errno.h \
- ! /usr/include/linux/errno.h /usr/lib/gcc-lib/i386-linux/2.2.2d/include/float.h \
- ! /usr/include/alloca.h /usr/include/termios.h /usr/include/linux/termios.h /usr/include/getopt.h \
- ! /usr/include/linux/fs.h /usr/include/linux/wait.h /usr/include/linux/dirent.h \
- ! /usr/include/linux/vfs.h /usr/include/linux/pipe_fs_i.h /usr/include/linux/minix_fs_i.h \
- ! /usr/include/linux/ext_fs_i.h /usr/include/linux/msdos_fs_i.h /usr/include/linux/iso_fs_i.h \
- ! /usr/include/linux/minix_fs_sb.h /usr/include/linux/ext_fs_sb.h /usr/include/linux/msdos_fs_sb.h \
- ! /usr/include/linux/iso_fs_sb.h /usr/include/linux/ext_fs.h
- ! mkefs.o : mkefs.c /usr/include/stdio.h /usr/include/traditional.h /usr/include/_G_config.h \
- ! /usr/include/unistd.h /usr/include/sys/stat.h /usr/include/sys/types.h /usr/include/linux/types.h \
- ! /usr/include/linux/stat.h /usr/include/sys/time.h /usr/include/linux/time.h \
- ! /usr/include/time.h /usr/include/features.h /usr/include/sys/times.h /usr/include/linux/times.h \
- ! /usr/include/sys/utsname.h /usr/include/sys/param.h /usr/lib/gcc-lib/i386-linux/2.2.2d/include/limits.h \
- ! /usr/include/limits.h /usr/include/linux/limits.h /usr/include/linux/param.h \
- ! /usr/include/sys/resource.h /usr/include/linux/resource.h /usr/include/utime.h \
- ! /usr/include/linux/utime.h /usr/include/signal.h /usr/include/linux/signal.h \
- ! /usr/include/string.h /usr/include/fcntl.h /usr/include/linux/fcntl.h /usr/include/ctype.h \
- ! /usr/include/stdlib.h /usr/lib/gcc-lib/i386-linux/2.2.2d/include/stddef.h /usr/include/errno.h \
- ! /usr/include/linux/errno.h /usr/lib/gcc-lib/i386-linux/2.2.2d/include/float.h \
- ! /usr/include/alloca.h /usr/include/termios.h /usr/include/linux/termios.h /usr/include/getopt.h \
- ! /usr/include/linux/fs.h /usr/include/linux/wait.h /usr/include/linux/dirent.h \
- ! /usr/include/linux/vfs.h /usr/include/linux/pipe_fs_i.h /usr/include/linux/minix_fs_i.h \
- ! /usr/include/linux/ext_fs_i.h /usr/include/linux/msdos_fs_i.h /usr/include/linux/iso_fs_i.h \
- ! /usr/include/linux/minix_fs_sb.h /usr/include/linux/ext_fs_sb.h /usr/include/linux/msdos_fs_sb.h \
- ! /usr/include/linux/iso_fs_sb.h /usr/include/linux/ext_fs.h
- --- 18,28 ----
- fi
-
- dep:
- ! $(CPP) -M *.c >.depend
-
- ! #
- ! # include a dependency file if one exists
- ! #
- ! ifeq (.depend,$(wildcard .depend))
- ! include .depend
- ! endif
- *** efsprogs11/README Sun Dec 6 19:27:36 1992
- --- efsprogs/README Sat Jan 2 16:45:58 1993
- ***************
- *** 1,7 ****
- README file for the ext file system
-
- ! Release 0a11
- ! 06.12.92
-
- Remy Card
- (card@masi.ibp.fr)
- --- 1,7 ----
- README file for the ext file system
-
- ! Release 0a12
- ! 01.01.93
-
- Remy Card
- (card@masi.ibp.fr)
- *** efsprogs11/efsck.8 Sun Dec 6 19:23:38 1992
- --- efsprogs/efsck.8 Sat Jan 2 16:50:41 1993
- ***************
- *** 1,5 ****
- .\" -*- nroff -*-
- ! .TH EFSCK 8 "Dec 1992" "Version alpha 11"
- .SH NAME
- efsck \- check a Linux extended file system
- .SH SYNOPSIS
- --- 1,5 ----
- .\" -*- nroff -*-
- ! .TH EFSCK 8 "Jan 1993" "Version alpha 12"
- .SH NAME
- efsck \- check a Linux extended file system
- .SH SYNOPSIS
- *** efsprogs11/efsck.c Wed Dec 9 13:49:15 1992
- --- efsprogs/efsck.c Sat Jan 2 14:25:04 1993
- ***************
- *** 1,7 ****
- /*
- * efsck.c - a consistency checker for the extended file system.
- *
- ! * Copyright (C) 1992 Remy Card (card@masi.ibp.fr)
- *
- * Copyright (C) 1991 Linus Torvalds. This file may be redistributed as per
- * the GNU copyright.
- --- 1,7 ----
- /*
- * efsck.c - a consistency checker for the extended file system.
- *
- ! * Copyright (C) 1992, 1993 Remy Card (card@masi.ibp.fr)
- *
- * Copyright (C) 1991 Linus Torvalds. This file may be redistributed as per
- * the GNU copyright.
- ***************
- *** 131,137 ****
- --- 131,141 ----
- * <schoenw@ibr.cs.tu-bs.de>)
- * 06.12.92 - added the '-b filename' option which reads a bad block list
- * from the file
- + * 12.12.92 - corrected a minor bug in the free blocks list initialization
- + * (Thanks to Stephen Tweedie <sct@dcs.ed.ac.uk>)
- *
- + * 01.01.93 - adapted to gcc 2.3.3 / libc 4.2
- + *
- * I've had no time to add comments - hopefully the function names
- * are comments enough. As with all file system checkers, this assumes
- * the file system is quiescent - don't use it on a mounted device
- ***************
- *** 138,144 ****
- * unless you can be sure nobody is writing to it (and remember that the
- * kernel can write to it when it searches for files).
- *
- ! * Usage: fsck [-larvsmdtS] device
- * -l for a listing of all the filenames
- * -a for automatic repairs
- * -r for repairs (interactive)
- --- 142,148 ----
- * unless you can be sure nobody is writing to it (and remember that the
- * kernel can write to it when it searches for files).
- *
- ! * Usage: efsck [-larvsmdtS] [-b file] device
- * -l for a listing of all the filenames
- * -a for automatic repairs
- * -r for repairs (interactive)
- ***************
- *** 147,152 ****
- --- 151,157 ----
- * -d for debugging this program
- * -t for testing bad blocks on the fs
- * -S for salvaging the free blocks/inodes lists
- + * -b for reading the bad blocks list from a file
- *
- * The device may be a block device or a image of one, but this isn't
- * enforced (but it's not much fun on a character device :-).
- ***************
- *** 158,164 ****
- --- 163,171 ----
- #include <fcntl.h>
- #include <ctype.h>
- #include <stdlib.h>
- + #include <signal.h>
- #include <termios.h>
- + #include <time.h>
- #include <sys/stat.h>
- #include <getopt.h>
-
- ***************
- *** 1706,1712 ****
-
- if (debug)
- printf ("DEBUG: init_zone_bitmap()\n");
- ! for (i = 0; i < ZONES; i++)
- mark_zone (i);
- /* Scan the free blocks list to unmark_zones */
- if (FIRSTFREEBLOCK)
- --- 1713,1719 ----
-
- if (debug)
- printf ("DEBUG: init_zone_bitmap()\n");
- ! for (i = FIRSTZONE; i < ZONES; i++)
- mark_zone (i);
- /* Scan the free blocks list to unmark_zones */
- if (FIRSTFREEBLOCK)
- ***************
- *** 1877,1883 ****
- int count;
- char c;
-
- ! printf ("efsck version alpha 11 - 09.12.92\n");
- if (argc && *argv)
- program_name = *argv;
- if (INODE_SIZE * EXT_INODES_PER_BLOCK != BLOCK_SIZE)
- --- 1884,1890 ----
- int count;
- char c;
-
- ! printf ("efsck version alpha 12 - 01.01.93\n");
- if (argc && *argv)
- program_name = *argv;
- if (INODE_SIZE * EXT_INODES_PER_BLOCK != BLOCK_SIZE)
- *** efsprogs11/mkefs.8 Wed Dec 9 13:47:45 1992
- --- efsprogs/mkefs.8 Sat Jan 2 16:51:03 1993
- ***************
- *** 1,5 ****
- .\" -*- nroff -*-
- ! .TH MKEFS 8 "Dec 1992" "Version alpha 11"
- .SH NAME
- mkefs \- create a Linux extended file system
- .SH SYNOPSIS
- --- 1,5 ----
- .\" -*- nroff -*-
- ! .TH MKEFS 8 "Jan 1993" "Version alpha 12"
- .SH NAME
- mkefs \- create a Linux extended file system
- .SH SYNOPSIS
- *** efsprogs11/mkefs.c Wed Dec 9 13:49:03 1992
- --- efsprogs/mkefs.c Sat Jan 2 14:24:56 1993
- ***************
- *** 1,7 ****
- /*
- * mkefs.c - make a linux extended file-system.
- *
- ! * Copyright (C) 1992 Remy Card (card@masi.ibp.fr)
- *
- * Copyright (C) 1991 Linus Torvalds. This file may be redistributed as per
- * the Linux copyright.
- --- 1,7 ----
- /*
- * mkefs.c - make a linux extended file-system.
- *
- ! * Copyright (C) 1992, 1993 Remy Card (card@masi.ibp.fr)
- *
- * Copyright (C) 1991 Linus Torvalds. This file may be redistributed as per
- * the Linux copyright.
- ***************
- *** 49,54 ****
- --- 49,56 ----
- * 09.12.92 - corrected again (I thought that I had done it) the inode
- * ratio test.
- *
- + * 01.01.93 - adapted to gcc 2.3.3 / libc 4.2
- + *
- * Usage: mkefs [-c] [-i bytes-per-inode] device size-in-blocks
- * mkefs [-l filename ] [-i bytes-per-inode] device size-in-blocks
- *
- ***************
- *** 70,75 ****
- --- 72,78 ----
- #include <ctype.h>
- #include <stdlib.h>
- #include <termios.h>
- + #include <time.h>
- #include <sys/stat.h>
- #include <getopt.h>
-
- ***************
- *** 600,606 ****
- struct stat statbuf;
- char * listfile = NULL;
-
- ! fprintf (stderr, "mkefs version alpha 11 - 09.12.92\n");
- if (argc && *argv)
- program_name = *argv;
- if (INODE_SIZE * EXT_INODES_PER_BLOCK != BLOCK_SIZE)
- --- 603,609 ----
- struct stat statbuf;
- char * listfile = NULL;
-
- ! fprintf (stderr, "mkefs version alpha 12 - 01.01.93\n");
- if (argc && *argv)
- program_name = *argv;
- if (INODE_SIZE * EXT_INODES_PER_BLOCK != BLOCK_SIZE)
-